package dao;

import java.util.List;

import org.springframework.security.core.userdetails.UserDetailsService;

import pojo.User;

public interface UserDAO {
	User getUserInfo(String email);
	boolean checkSignin(String email,String password);
	boolean addUser(User user);
	boolean checkRegisterEmail(String email);
	//compare product
	String[] listspecifications(String specification);
	boolean updateUserDetail(String email,String firstname, String lastname, String zipcode, String phonenumber);
	boolean updateUserPassword(String email, String passwordnew);
}
